using System;
using System.Collections.Generic;
using System.Text;

namespace FeedGatheringService
{
    public abstract class BaseEntity
    {
        #region Fields

        private int id;
        private DateTime createdDate;

        #endregion

        #region Constructors

        protected BaseEntity()
        {
        }

        protected BaseEntity(int id, DateTime createdDate)
        {
            this.id = id;
            this.createdDate = createdDate;
        }

        #endregion


        #region Properties

        public DateTime CreatedDate
        {
            get { return createdDate; }
            set { createdDate = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        #endregion
    }
}
